<template>
  <div id="app">
    <!-- <div id="nav">
      <router-link to="/home">Home</router-link>
      <span>丨</span>
      <router-link to="/about">About</router-link>
    </div> -->
    <!-- keep-alive 看自己情况使用 -->
    <keep-alive>
      <router-view />
    </keep-alive>
  </div>
</template>

<style>
@import '~@/assets/css/reset.css';
/* 全局样式 开发时清空 */
#app {
  text-align: center;
  color: #2c3e50;
}

#nav {
  padding: 30px;
}

#nav a {
  font-weight: bold;
  color: #2c3e50;
}

#nav a.router-link-active {
  color: #ff9999;
}
</style>
